package com.sfl.api_backend.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 充值记录表
 * </p>
 *
 * @author szc
 * @since 2023-01-31
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Recharge implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 充值记录ID
     */
    @TableId
    private Integer rechargeId;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 充值额度数量
     */
    private Integer rechargeNum;

    /**
     * 金额
     */
    private Long amount;

    /**
     * 充值时间
     */
    private LocalDateTime rechargeDate;
}
